//
//  LMJRedioCell.m
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "LMJRedioCell.h"

@interface LMJRedioCell ()

@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;

@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;

@property (weak, nonatomic) IBOutlet UILabel *userNameLable;
@end
@implementation LMJRedioCell

- (void) layoutSubviews {
    //sdwebImage赋值
    [self.titleImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLable.text = self.model.title;
    
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.playInfoModel.icon]];
    self.userNameLable.text = self.model.playInfoModel.uname;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
